package model;

import util.Toolsutil;

/**
 * VAdminUser entity. @author MyEclipse Persistence Tools
 */

public class VAdminUser implements java.io.Serializable {

	// Fields

		private String userid;
		private String mobile;
		private String password;
		private String userstatus;
		private String realname;
		private String createtime;
		private Integer loginstatus;
		private String lastlogindate;
		private Integer roleId;
		private String name;
		private String description;
		private String photoname;
		private Integer status;
		private Integer photoid;

		// Constructors

		/** default constructor */
		public VAdminUser() {
		}

		/** minimal constructor */
		public VAdminUser(String userid, String mobile, String password,
				String userstatus, String realname, Integer roleId, String name,
				String photoname, Integer status) {
			this.userid = userid;
			this.mobile = mobile;
			this.password = password;
			this.userstatus = userstatus;
			this.realname = realname;
			this.roleId = roleId;
			this.name = name;
			this.photoname = photoname;
			this.status = status;
		}

		/** full constructor */
		public VAdminUser(String userid, String mobile, String password,
				String userstatus, String realname, String createtime,
				Integer loginstatus, String lastlogindate, Integer roleId,
				String name, String description, String photoname, Integer status,
				Integer photoid) {
			this.userid = userid;
			this.mobile = mobile;
			this.password = password;
			this.userstatus = userstatus;
			this.realname = realname;
			this.createtime = createtime;
			this.loginstatus = loginstatus;
			this.lastlogindate = lastlogindate;
			this.roleId = roleId;
			this.name = name;
			this.description = description;
			this.photoname = photoname;
			this.status = status;
			this.photoid = photoid;
		}

		// Property accessors

		public String getUserid() {
			return this.userid;
		}

		public void setUserid(String userid) {
			this.userid = userid;
		}

		public String getMobile() {
			return this.mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getPassword() {
			return this.password;
		}

		public void setPassword(String password) {
			this.password = password;
		}

		public String getUserstatus() {
			return this.userstatus;
		}

		public void setUserstatus(String userstatus) {
			this.userstatus = userstatus;
		}

		public String getRealname() {
			return this.realname;
		}

		public void setRealname(String realname) {
			this.realname = realname;
		}

		public String getCreatetime() {
			return Toolsutil.datetimeFormat(this.createtime);
		}

		public void setCreatetime(String createtime) {
			this.createtime = createtime;
		}

		public Integer getLoginstatus() {
			return this.loginstatus;
		}

		public void setLoginstatus(Integer loginstatus) {
			this.loginstatus = loginstatus;
		}

		public String getLastlogindate() {
			return this.lastlogindate;
		}

		public void setLastlogindate(String lastlogindate) {
			this.lastlogindate = lastlogindate;
		}

		public Integer getRoleId() {
			return this.roleId;
		}

		public void setRoleId(Integer roleId) {
			this.roleId = roleId;
		}

		public String getName() {
			return this.name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getDescription() {
			return this.description;
		}

		public void setDescription(String description) {
			this.description = description;
		}

		public String getPhotoname() {
			return this.photoname;
		}

		public void setPhotoname(String photoname) {
			this.photoname = photoname;
		}

		public Integer getStatus() {
			return this.status;
		}

		public void setStatus(Integer status) {
			this.status = status;
		}

		public Integer getPhotoid() {
			return this.photoid;
		}

		public void setPhotoid(Integer photoid) {
			this.photoid = photoid;
		}

}